package com.gjy.service.k8s.controller;

import com.gjy.service.k8s.domain.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-07-06 08:51:49
 */
@RestController
@RequestMapping("/hello")
public class HelloController {

    @GetMapping("/test")
    public Result<String> test() {
        Result<String> result = new Result<>();
        result.setCode(200);
        result.setMessage("请求成功");
        result.setT("com.gjy.service.k8s.domain.Result");
        return result;
    }
}
